#!/bin/bash
#
# This is a simple script that compiles flashmediaelement.swf using the free Flex SDK on Linux/Mac.
#

FLEXPATH=/home/scott2ware/SourceCode/Flex/4.6

## Debug
## $FLEXPATH/bin/mxmlc -debug -strict=false -warnings=true ./FlashMediaElement.as -o ../../build/flashmediaelement-debug.swf -library-path+="$FLEXPATH/lib" -include-libraries+=./flashmediaelement.swc -use-network=true -headless-server -static-link-runtime-shared-libraries
##

## Normal
$FLEXPATH/bin/mxmlc -strict=false -warnings=false ./FlashMediaElement.as -o ../../build/flashmediaelement.swf -library-path+="$FLEXPATH/lib" -use-network=true -headless-server -static-link-runtime-shared-libraries
##
